package com.zhengyun.web01.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "server01", fallback = HystrixClientFeign.class)
public interface ClientFeign {
    @GetMapping("test/hello")
    String getHello(@RequestParam(value = "name") String name);
}
